Modeling Pointer Redirection as Cyclic Term-graph Rewriting
نویسندگان
چکیده
We tackle the problem of data-structure rewriting including global and local pointer redirections. Eachbasic rewrite step may perform three kinds of actions: (i) Local redirection, the aim of which is to redirectspecific pointers determined by means of a pattern ; (ii) Replacement, that may add new information todata-structures ; (iii) Global redirection, which is aimed at redirecting all pointers targeting a node towardsanother one. We define a new framework, following the double-pushout approach, where graph rewrite rulesmay mix these three kinds of actions in a row. We define first the category of graphs we consider and thenwe define rewrite rules as pairs of graph homomorphisms of the form L ← K → R. In our setting, graphK is not arbitrary, it is used to encode pointer redirection. Furthermore, pushouts do not always exist andcomplement pushouts, when they exist, are not unique. Despite these concerns, our definition of rewritingsteps is such that a rewrite rule can always be fired, once a matching is found.
منابع مشابه
Modeling Pointer Redirection as Cyclic Term - graph Rewriting 1 Dominique Duval 2 Rachid Echahed 3 Frédéric Prost
We tackle the problem of data-structure rewriting including global and local pointerredirections. Each basic rewrite step may perform three kinds of actions: (i) Localredirection, the aim of which is to redirect specific pointers determined by meansof a pattern ; (ii) Replacement, that may add new information to data-structures ;(iii) Global redirection, which is aimed at redire...
متن کامل. PL / 0 50 30 65 v 1 2 4 M ar 2 00 5 Data - Structure Rewriting
We tackle the problem of data-structure rewriting including pointer redirections. We propose two basic rewrite steps: (i) Local Redirection and Replacement steps the aim of which is redirecting specific pointers determined by means of a pattern, as well as adding new information to an existing data ; and (ii) Global Redirection steps which are aimed to redirect all pointers targeting a node tow...
متن کاملData-Structure Rewriting
We tackle the problem of data-structure rewriting including pointer redirections. We propose two basic rewrite steps: (i) Local Redirection and Replacement steps the aim of which is redirecting speciic pointers determined by means of a pattern, as well as adding new information to an existing data ; and (ii) Global Redirection steps which are aimed to redirect all pointers targeting a node towa...
متن کاملDactl Rewriting Is Categorical
The graph-manipulating core of the general term graph rewriting language DACTL, namely contraction building and redirection, is reexamined from a categorical viewpoint. The essentials of this rather complex two-phase operational semantics is recast as a Grothendieck opfibration of a category of graph rewrites over a base of rewrite rules. This generalises previous attempts to categorise contrac...
متن کاملUniversit a Di Pisa (cyclic) Term Graph Rewriting Is Adequate for Rational Parallel Term Rewriting (cyclic) Term Graph Rewriting Is Adequate for Rational Parallel Term Rewriting ?
Acyclic Term Graphs are able to represent terms with sharing , and the relationship between Term Graph Rewriting (TGR) and Term Rewrtiting (TR) is now well understood BvEG + 87, HP91]. During the last years, some researchers considered the extension of TGR to possibly cyclic term graphs, which can represent possibly innnite, rational terms. In KKSdV94] the authors formalize the classical relati...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 176 شماره
صفحات -
تاریخ انتشار 2007